import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'
// import './permission'
import Vuex from './store/Index.js'
const app = createApp(App)
import Particles from 'particles.vue3'
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router)
    .use(ElementPlus)
    .use(NProgress)
    .use(Vuex)
    .use(Particles)

app.mount('#app')
